import java.net.URLEncoder;

/**
 * Created by dell on 2017/8/10.
 */
public class PostTomcatTest {
    public static void main(String[] args) throws Exception {
        new PostTomcat().copy("http://api.avatardata.cn/Weather/Query", "key=4a417aba564b4f6a82ba71ab864a3035", "&cityname=" + URLEncoder.encode("广安", "utf-8"));
    }
}
